<?php

class negara{

	var $db;

	public function __construct(){
		$this->db = new DBClass();
	}	

	public function get_all_negara(){
		$query = "Select id_nationality, code, nationality From nationality";
		$rows = $this->db->getRows($query);

		return $rows;

	}	


}	